﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WanMeiModel;

namespace WanMeiBussinessService
{
    public interface IRoleService
    {
        /// <summary>
        /// 获取当前账户的当前选择的角色信息
        /// </summary>
        /// <param name="un"></param>
        /// <param name="heroId"></param>
        /// <returns></returns>
        UserInfoModel GetUserInfoModel(string un, int heroId);
        /// <summary>
        /// 写入消息日志
        /// </summary>
        /// <param name="model"></param>
        void WriteChatLog(ChatLogModel model);
    }
}
